package com.mysns.core.domain;

import java.io.Serializable;

/**
 * 博客的日志分类.
 * 
 * @author zhouych
 * @see Blog
 */
@SuppressWarnings("serial")
public class BlogCategory implements Serializable {

	/**
	 * 主键id
	 */
	private long id;
	
	/**
	 * 类别名称
	 */
	private String name;
	
	/**
	 * 该类别所属的用户
	 */
	private GenericUser owner;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public GenericUser getOwner() {
		return owner;
	}

	public void setOwner(GenericUser owner) {
		this.owner = owner;
	}
}
